<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Claude Code 高级使用指南 - 解锁AI编程助手的无限潜能</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
        }
        .serif-font {
            font-family: 'Noto Serif SC', serif;
        }
        .gradient-text {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 4rem;
            line-height: 3rem;
            padding-right: 0.5rem;
            margin-top: 0.5rem;
            font-weight: 700;
            color: #667eea;
        }
        .section-divider {
            position: relative;
            text-align: center;
            margin: 4rem 0;
        }
        .section-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, #e5e7eb, transparent);
        }
        .section-divider span {
            background: white;
            padding: 0 2rem;
            position: relative;
            color: #9ca3af;
        }
        .feature-icon {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-size: 24px;
            margin-bottom: 1rem;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-24 px-6">
        <div class="max-w-6xl mx-auto">
            <div class="text-center">
                <h1 class="text-5xl md:text-6xl font-bold mb-6 serif-font">
                    Claude Code 高级使用指南
                </h1>
                <p class="text-xl md:text-2xl mb-8 opacity-90">
                    从基础指令到AI协同开发大师的进阶之路
                </p>
                <div class="flex justify-center space-x-6 mb-12">
                    <a href="https://github.com/Cranot/claude-code-guide" target="_blank" class="inline-flex items-center bg-white text-purple-700 px-6 py-3 rounded-full font-semibold hover:bg-gray-100 transition">
                        <i class="fab fa-github mr-2"></i>
                        访问 GitHub
                    </a>
                    <button onclick="document.getElementById('guide-content').scrollIntoView({behavior: 'smooth'})" class="inline-flex items-center bg-transparent border-2 border-white px-6 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-700 transition">
                        <i class="fas fa-arrow-down mr-2"></i>
                        开始阅读
                    </button>
                </div>
                <div class="max-w-3xl mx-auto">
                    <p class="text-lg opacity-80 italic">
                        "在人工智能日益普及的今天，掌握AI编程助手的高级技巧，就是掌握未来开发的钥匙。"
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- Introduction Section -->
    <section id="guide-content" class="py-16 px-6">
        <div class="max-w-4xl mx-auto">
            <div class="bg-white rounded-2xl shadow-xl p-8 md:p-12">
                <h2 class="text-3xl font-bold mb-6 serif-font gradient-text">引言：AI编程的新纪元</h2>
                <div class="prose prose-lg max-w-none">
                    <p class="drop-cap text-gray-700 leading-relaxed">
                        在人工智能日益普及的今天，越来越多的开发者开始尝试使用AI编码助手来提升工作效率。Anthropic的Claude Code作为其中的佼佼者，以其强大的代码理解和生成能力备受推崇。然而，许多用户在使用过程中会遇到瓶颈：如何让它理解复杂的项目结构？如何让它执行多步骤的自动化任务？如何真正将AI助手融入到日常的开发工作流中，而不仅仅是简单的代码补全？
                    </p>
                    <p class="mt-4 text-gray-700 leading-relaxed">
                        这本GitHub上的《Claude Code使用指南》，正是为解决这些痛点而诞生的。它并非一个可执行的工具，而是一份由资深用户精心整理的<strong class="text-purple-700">高级使用手册</strong>，旨在帮助开发者从基础指令的被动使用者，转变为能够主动驾驭AI、构建复杂工作流的"AI协同开发大师"。
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- Problem Solution Section -->
    <section class="py-16 px-6 bg-gray-100">
        <div class="max-w-6xl mx-auto">
            <div class="text-center mb-12">
                <h2 class="text-4xl font-bold serif-font mb-4">它能解决什么问题？</h2>
                <p class="text-xl text-gray-600">突破AI编程助手的使用瓶颈</p>
            </div>
            <div class="grid md:grid-cols-2 gap-8">
                <div class="bg-white rounded-xl p-8 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-puzzle-piece"></i>
                    </div>
                    <h3 class="text-2xl font-bold mb-4">对话陷阱</h3>
                    <p class="text-gray-700 leading-relaxed">
                        开发者常常陷入简单的"问答"模式，当面对涉及多个文件、需要深入理解上下文的复杂问题时，AI助手往往表现得力不从心。你需要反复输入上下文、重新解释项目结构，导致效率不升反降。
                    </p>
                </div>
                <div class="bg-white rounded-xl p-8 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-rocket"></i>
                    </div>
                    <h3 class="text-2xl font-bold mb-4">系统化解决方案</h3>
                    <p class="text-gray-700 leading-relaxed">
                        本指南通过揭示Claude Code的内部工作机制、高级指令和最佳实践，让用户掌握一套系统化的方法，让AI不仅能写代码，更能进行<strong>复杂的代码分析、项目管理乃至自主学习</strong>。
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- Core Features Section -->
    <section class="py-16 px-6">
        <div class="max-w-6xl mx-auto">
            <div class="text-center mb-12">
                <h2 class="text-4xl font-bold serif-font mb-4">核心功能概述</h2>
                <p class="text-xl text-gray-600">解锁Claude Code的隐藏潜能</p>
            </div>
            <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
                <div class="bg-white rounded-xl p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-brain"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">高级心智模型</h3>
                    <p class="text-gray-600">
                        通过特定提示词触发深层思考模式，实现多智能体编排，像专业团队一样协作解决复杂任务。
                    </p>
                </div>
                <div class="bg-white rounded-xl p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-database"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">大型代码库分析</h3>
                    <p class="text-gray-600">
                        创建索引文件帮助AI快速理解项目结构，突破上下文窗口限制，高效处理大型项目。
                    </p>
                </div>
                <div class="bg-white rounded-xl p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-tools"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">隐藏工具发掘</h3>
                    <p class="text-gray-600">
                        揭示REPL工具、内存工具等官方文档未详述的实用功能，实现知识的持续积累。
                    </p>
                </div>
                <div class="bg-white rounded-xl p-6 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-cogs"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">自动化工作流</h3>
                    <p class="text-gray-600">
                        集成到日常开发流程，自动创建分支、编写测试、提交代码，实现端到端自动化。
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- Visualization Section -->
    <section class="py-16 px-6 bg-gray-100">
        <div class="max-w-6xl mx-auto">
            <div class="text-center mb-12">
                <h2 class="text-4xl font-bold serif-font mb-4">知识体系架构</h2>
                <p class="text-xl text-gray-600">Claude Code高级应用的完整认知框架</p>
            </div>
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <div class="mermaid">
                    graph TD
                        A[Claude Code 高级使用指南] --> B[高级心智模型]
                        A --> C[代码库分析]
                        A --> D[隐藏工具]
                        A --> E[自动化集成]
                        
                        B --> B1[think 深度思考]
                        B --> B2[ultrathink 超级思考]
                        B --> B3[多智能体编排]
                        
                        C --> C1[CLAUDE.md 索引]
                        C --> C2[项目结构理解]
                        C --> C3[上下文优化]
                        
                        D --> D1[REPL 工具]
                        D --> D2[conversation_search]
                        D --> D3[recent_chats]
                        
                        E --> E1[Git 集成]
                        E --> E2[测试自动化]
                        E --> E3[CI/CD 流程]
                        
                        style A fill:#667eea,stroke:#764ba2,stroke-width:3px,color:#fff
                        style B fill:#f3e8ff,stroke:#667eea,stroke-width:2px
                        style C fill:#f3e8ff,stroke:#667eea,stroke-width:2px
                        style D fill:#f3e8ff,stroke:#667eea,stroke-width:2px
                        style E fill:#f3e8ff,stroke:#667eea,stroke-width:2px
                </div>
            </div>
        </div>
    </section>

    <!-- Use Cases Section -->
    <section class="py-16 px-6">
        <div class="max-w-6xl mx-auto">
            <div class="text-center mb-12">
                <h2 class="text-4xl font-bold serif-font mb-4">使用场景</h2>
                <p class="text-xl text-gray-600">在实战中发挥AI的最大价值</p>
            </div>
            <div class="space-y-8">
                <div class="bg-white rounded-2xl shadow-lg p-8 card-hover">
                    <div class="flex items-start">
                        <div class="feature-icon mr-6">
                            <i class="fas fa-users"></i>
                        </div>
                        <div class="flex-1">